package com.xiaoshuidi.cloud.module.report.convert.finance;

import com.xiaoshuidi.cloud.module.report.controller.finance.vo.*;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.IncomeDetailDayReportDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.IncomeDetailReportDO;
import com.xiaoshuidi.cloud.module.report.dal.DO.report.OwnerIncomeDetailReportDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 权责收入 转换类
 */
@Mapper
public interface OwnerIncomeDetailConvert {

    OwnerIncomeDetailConvert INSTANCE = Mappers.getMapper(OwnerIncomeDetailConvert.class);

    List<OwnerDetailIncomePageRespVO> convertDetailIncomePage(List<OwnerIncomeDetailReportDO> incomeDetailReportDOS);

    List<OwnerDetailIncomeExportRespVO> convertDetailForExport(List<OwnerIncomeDetailReportDO> incomeDetailReportDOS);

    IncomeDetailReportDO convertDetailDay2Month(IncomeDetailDayReportDO detailDay);


}
